package ace.module.oauth2.server.api.enums;

import ace.cmp.core.enums.BaseEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
* oauth2 客户端 客户端认证方式集合.
*
* @author Caspar
*/
@AllArgsConstructor
@Getter
public enum Oauth2RegisteredClientClientAuthenticationMethodsEnum implements BaseEnum<String> {
  CLIENT_SECRET_BASIC("client_secret_basic","basic认证方式"),
  CLIENT_SECRET_POST("client_secret_post","post认证方式"),
  CLIENT_SECRET_JWT("client_secret_jwt","客户端密钥jwt"),
  PRIVATE_KEY_JWT("private_key_jwt","私有key jwt"),
  NONE("none","空"),
  ;
  private final String code;
  private final String desc;
}